package md.mru.transfer.optimized.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "tree_folders", schema = "c##mru_optimized")
public class TreeModelFolder implements Serializable {

    private static final long serialVersionUID = 28549674953398111L;

    @Id
    @Column(name = "tree_id")
    private long treeId;
    @Column(name = "folder_id")
    @JoinColumn(name = "folder_id")
    private long folderId;
    @Column(name = "valid_from")
    private Date validFrom;
    @Column(name = "valid_to")
    private Date validTo;
    private String state;
    private String description;
    private short col1;
    private short col2;
    private short col3;
    @Column(name = "order_type")
    private short ordTpe;
    @Column(name = "order_number")
    private String ordNbr;
    @Column(name = "order_date")
    private Date ordDte;
    @Column(name = "inserted_date")
    private Date insertedDate;
    private short col4;
    private String col5;
    private Integer type;
    private String col6;
    private String col7;
    private String col8;
    private String col9;
    private String col10;

    public long getTreeId() {
        return treeId;
    }

    public void setTreeId(long treeId) {
        this.treeId = treeId;
    }

    public long getFolderId() {
        return folderId;
    }

    public void setFolderId(long folderId) {
        this.folderId = folderId;
    }

    public Date getValidFrom() {
        return validFrom;
    }

    public void setValidFrom(Date validFrom) {
        this.validFrom = validFrom;
    }

    public Date getValidTo() {
        return validTo;
    }

    public void setValidTo(Date validTo) {
        this.validTo = validTo;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public short getCol1() {
        return col1;
    }

    public void setCol1(short col1) {
        this.col1 = col1;
    }

    public short getCol2() {
        return col2;
    }

    public void setCol2(short col2) {
        this.col2 = col2;
    }

    public short getCol3() {
        return col3;
    }

    public void setCol3(short col3) {
        this.col3 = col3;
    }

    public short getOrdTpe() {
        return ordTpe;
    }

    public void setOrdTpe(short ordTpe) {
        this.ordTpe = ordTpe;
    }

    public String getOrdNbr() {
        return ordNbr;
    }

    public void setOrdNbr(String ordNbr) {
        this.ordNbr = ordNbr;
    }

    public Date getOrdDte() {
        return ordDte;
    }

    public void setOrdDte(Date ordDte) {
        this.ordDte = ordDte;
    }

    public Date getInsertedDate() {
        return insertedDate;
    }

    public void setInsertedDate(Date insertedDate) {
        this.insertedDate = insertedDate;
    }

    public short getCol4() {
        return col4;
    }

    public void setCol4(short col4) {
        this.col4 = col4;
    }

    public String getCol5() {
        return col5;
    }

    public void setCol5(String col5) {
        this.col5 = col5;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCol6() {
        return col6;
    }

    public void setCol6(String col6) {
        this.col6 = col6;
    }

    public String getCol7() {
        return col7;
    }

    public void setCol7(String col7) {
        this.col7 = col7;
    }

    public String getCol8() {
        return col8;
    }

    public void setCol8(String col8) {
        this.col8 = col8;
    }

    public String getCol9() {
        return col9;
    }

    public void setCol9(String col9) {
        this.col9 = col9;
    }

    public String getCol10() {
        return col10;
    }

    public void setCol10(String col10) {
        this.col10 = col10;
    }

}


